﻿using System;
using CID.Support.Exceptions;

namespace CID.Domain.Exceptions
{
    [Serializable]
    class InvalidParameterAssignmentTemplateException : DomainException
    {
        public InvalidParameterAssignmentTemplateException(string expectedTemplateType)
            : base(String.Format("The Template assiged to the Parameter is not a template for {0}", expectedTemplateType))
        { }
    }
}
